/*
 * @Author: Jimmy
 * @LastModifiedBy: Jimmy
 * @Date: 2024-06-23 13:20:34
 * @LastEditTime: 2024-06-29 10:45:02
 * @FilePath: /nest_study/web/src/views/system/dept/components/rules.ts
 */
export const rules = {
    parentId: [{ required: true, message: '请选择上级部门！' }],
    name: [{ required: true, message: '请输入部门名称！' }],
    leader: [{ required: true, message: '请输入部门负责人！' }],
    phone: [{ required: true, message: '请输入联系电话！' }],
    sort: [{ required: true, message: '请输入排序！' }],
}